using BW.WMS.Core.Models;
using System.ComponentModel.DataAnnotations;

namespace BW.WMS.Domain.Entities.Product
{
    /// <summary>
    /// 产品-单位中间表实体
    /// </summary>
    public class Product_UnitMiddleModel : BaseEntity
    {
        /// <summary>
        /// 产品Id
        /// </summary>
        [Required]
        public long ProductId { get; set; }

        /// <summary>
        /// 单位Id
        /// </summary>
        [Required]
        public long UnitId { get; set; }
    }
} 